/*
 * =====================================================================================
 *       Filename:  17.c
 *        Created:  09/30/2014 12:59:05 AM
 *       Compiler:  gcc
 *         Author:  firebroo 
 * =====================================================================================
 */

#include<stdio.h>

void main(){
    int rows = 2;
    int columns = 5;
    int *matrix = (int *) malloc(rows * columns * sizeof(int));
    printf("%p\n",matrix);
    printf("%p\n",(matrix+1));
    printf("%p\n",(matrix+2));
    printf("%p\n",(matrix+3));
    printf("%p\n",(matrix+4));
    printf("%p\n",(matrix+5));
    printf("%p\n",(matrix+6));
    printf("%p\n",(matrix+7));
    printf("%p\n",(matrix+8));
    printf("%p\n",(matrix+9));
}
